package org.takeback.chat.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.commons.lang3.StringUtils;

@Entity
@Table(name = "lhh_plan", schema = "gamechat", catalog = "")
public class LHHPlan {
	private Integer id;
	private Integer userId;
	private String roomId;
	private String lotteryId;
	private Date createTime;
	private Date updateTime;
	private String planOne;
	private String planTwo;
	private String planThree;
	private Boolean planOneResult;
	private Boolean planTwoResult;
	private Boolean planThreeResult;
	private BigDecimal planOneMoney = new BigDecimal(0);
	private BigDecimal planTwoMoney = new BigDecimal(0);
	private BigDecimal planThreeMoney = new BigDecimal(0);
	private Integer updateBy;
	private Integer status = 1;
	private String plan;
	
	private Integer lhhNumDetailId; //
		
	@Basic
	@Column(name = "lhh_num_detail_id", nullable = true, length = 11)
	public Integer getLhhNumDetailId() {
		return lhhNumDetailId;
	}
	public void setLhhNumDetailId(Integer lhhNumDetailId) {
		this.lhhNumDetailId = lhhNumDetailId;
	}
	@Basic
	@Column(name = "plan", nullable = false, length = 200)
	public String getPlan() {
		return plan;
	}
	public void setPlan(String plan) {
		this.plan = plan;
	}
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false, length = 11)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	
	@Basic
	@Column(name = "userId", nullable = true, length = 11)
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	@Basic
	@Column(name = "roomId", nullable = true, length = 50)
	public String getRoomId() {
		return roomId;
	}
	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}
	
	@Basic
	@Column(name = "lotteryId", nullable = true, length = 100)
	public String getLotteryId() {
		return lotteryId;
	}
	public void setLotteryId(String lotteryId) {
		this.lotteryId = lotteryId;
	}
	
	@Basic
	@Column(name = "createTime", nullable = true)
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Basic
	@Column(name = "updateTime", nullable = true)
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	@Basic
	@Column(name = "planOne", nullable = true, length = 1)
	public String getPlanOne() {
		return planOne;
	}
	public void setPlanOne(String planOne) {
		this.planOne = planOne;
	}
	
	@Basic
	@Column(name = "planTwo", nullable = true, length = 20)
	public String getPlanTwo() {
		return planTwo;
	}
	public void setPlanTwo(String planTwo) {
		this.planTwo = planTwo;
	}
	
	@Basic
	@Column(name = "planThree", nullable = true, length = 1)
	public String getPlanThree() {
		return planThree;
	}
	public void setPlanThree(String planThree) {
		this.planThree = planThree;
	}
	
	@Basic
	@Column(name = "planOneResult", nullable = true, length = 1)
	public Boolean getPlanOneResult() {
		return planOneResult;
	}
	public void setPlanOneResult(Boolean planOneResult) {
		this.planOneResult = planOneResult;
	}
	
	@Basic
	@Column(name = "planTwoResult", nullable = true, length = 1)
	public Boolean getPlanTwoResult() {
		return planTwoResult;
	}
	public void setPlanTwoResult(Boolean planTwoResult) {
		this.planTwoResult = planTwoResult;
	}
	
	@Basic
	@Column(name = "planThreeResult", nullable = true, length = 1)
	public Boolean getPlanThreeResult() {
		return planThreeResult;
	}
	public void setPlanThreeResult(Boolean planThreeResult) {
		this.planThreeResult = planThreeResult;
	}
	
	@Basic
	@Column(name = "planOneMoney", nullable = true, precision = 0)
	public BigDecimal getPlanOneMoney() {
		return planOneMoney;
	}
	public void setPlanOneMoney(BigDecimal planOneMoney) {
		this.planOneMoney = planOneMoney;
	}
	
	@Basic
	@Column(name = "planTwoMoney", nullable = true, precision = 0)
	public BigDecimal getPlanTwoMoney() {
		return planTwoMoney;
	}
	public void setPlanTwoMoney(BigDecimal planTwoMoney) {
		this.planTwoMoney = planTwoMoney;
	}
	
	@Basic
	@Column(name = "planThreeMoney", nullable = true, precision = 0)
	public BigDecimal getPlanThreeMoney() {
		return planThreeMoney;
	}
	public void setPlanThreeMoney(BigDecimal planThreeMoney) {
		this.planThreeMoney = planThreeMoney;
	}
	
	@Basic
	@Column(name = "updateBy", nullable = true, length = 11)
	public Integer getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(Integer updateBy) {
		this.updateBy = updateBy;
	}
	
	@Basic
	@Column(name = "status", nullable = true, length = 1)
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	 
}
